package demo06创建对象内存分析;

public class Pet {
  public   String name;
  public int age;

    //无参构造

    public void shout(){
        System.out.println("叫了一声");

    }
}
